package com.itheima.app.test;

import com.itheima.autoconfig.sms.SmsTemplate;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

//TODO 测一下
@SpringBootTest
@RunWith(SpringRunner.class)
public class Smstest {
    @Autowired
    private SmsTemplate smsTemplate;

    @Test
    public void smsTemplate(){
        smsTemplate.sendSms("12312341234","123456");
    }

}
